# Begin build configuration.
CXX = g++
CXXFLAGS = -Wall -g `pkg-config gtkmm-2.4 --cflags`
LDFLAGS = `pkg-config gtkmm-2.4 --cflags --libs` -lsndfile -ljack -lasound -lsamplerate
EXECUTABLE = xampler
# End build configuration.

OBJECTS = Engine.o Instrument.o InstrumentEditor.o main.o MainWindow.o \
          MenuBar.o Sample.o SampleStrip.o State.o SynthMessage.o

.cpp.o :
	$(CXX) -c $(CXXFLAGS) $<

.PHONY : all clean

all : $(EXECUTABLE)

clean :
	rm -f $(EXECUTABLE) $(OBJECTS)

$(EXECUTABLE) : $(OBJECTS)
	$(CXX) $(LDFLAGS) $(OBJECTS) -o $(EXECUTABLE)
